//
//  KKNavigationController.swift
//  KKNavigationBarDemo
//
//  Created by liaozhenming on 2016/12/23.
//  Copyright © 2016年 liaozhenming. All rights reserved.
//

import UIKit

class KKNavigationController: UINavigationController, UINavigationControllerDelegate {

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        self.delegate = self
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
    
    func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
        print(animated)
        print(viewController)
    }
}
